

package com.dog.basics.bean.dto.admin.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author guonh
 * @date 2020/2/10
 */
@Data
@ApiModel(value = "前端角色展示对象")
public class AdminRoleUpdateDto {

    /**
     * 角色id
     */
    @NotNull(message = "角色id不能为空")
    @ApiModelProperty(value = "角色id", dataType = "Long")
    private Long roleId;

    /**
     * 菜单列表
     */
    @ApiModelProperty(value = "菜单列表", dataType = "String")
    private String menuIds;

}
